import { ApiProperty } from "@nestjs/swagger";
import { IsNotEmpty } from "class-validator";

export class FriendAddDto {

    @ApiProperty({
        description: "用户 id",
    })
    @IsNotEmpty({
        message: "添加的好友 id 不能为空"
    })
    friendId: number;

    @ApiProperty({
        description: "添加好友原因",
    })
    reason: string;    
}